import { Button, Form, Input } from 'antd';
import { useNavigate } from 'react-router-dom';
const Home11=()=>{
        const navigate=useNavigate();
    const handleGo=()=>{
        console.log('点击了');
        navigate('/homeList/home3')
    }
    return (
        <div>
            <h1>Home122222</h1>
                 <Button onClick={handleGo}>去333</Button>
        </div>
    )
}

export default Home11